//#include <iostream>
#include "LZSS.h"

int main(int argc, char** argv){
  //  char toto[] = "toto.xml";

  if (argc<3){
    printf("Usage: %s file1 file2 file3\nWhere:\n\tfile1 is input file\n\tfile2 is compressed output file\n\tfile3 is decompressed output file.\n",argv[0]);
  }else{
    LZSS lzss;
    lzss.compresse(argv[1],argv[2]);
    lzss.decompresse(argv[2],argv[3]);
  }
  return 0;
}
